<template>
  <f7-page class="qm-page">
    <f7-link icon-f7="chevron_left" class="arrow" back></f7-link>
    <f7-block class="qm-block">
      <img src="static/img/land/index8/logo.png" alt="" class="img" />

      <qm-search
        placeholder="账号/用户名"
        v-model="user"
        label=""
        shape="round"
        clearable
        left-icon=""
      >
      </qm-search>

      <qm-search
        placeholder="密码"
        v-model="password"
        :clearable="false"
        shape="round"
        left-icon=""
        type="password"
      >
      </qm-search>
      <f7-row style="padding: 0px 20px;">
        <f7-col style="text-align: left"><f7-link class="qm-register">立即注册</f7-link></f7-col>
        <f7-col style="text-align: end"
          ><f7-link class="qm-link">忘记密码</f7-link></f7-col
        >
      </f7-row>
      <f7-button raised fill round class="qm-button">立即登录</f7-button>
      <qm-divider class="divider"> 其他登录方式 </qm-divider>
      <f7-row class="qm-row">
        <f7-col
          ><img src="static/img/land/index8/login_weixin.png" alt="" />
          <div>微信</div>
        </f7-col>
        <f7-col
          ><img src="static/img/land/index8/logo_shualian.png" alt="" />
          <div>刷脸</div></f7-col
        >
        <f7-col
          ><img src="static/img/land/index8/logo_shouji.png" alt="" />
          <div>手机</div></f7-col
        >
      </f7-row>
      <div class="footer">广州市齐明软件科技有限公司提供技术支持</div>
    </f7-block>
  </f7-page>
</template>

<script>
export default {
  data() {
    return {
      user: "",
      password: "",
      showpassword: false,
    };
  },
  computed: {

  },
  methods: {

  },
};
</script>

<style lang="less" scoped>
.arrow {
  position: fixed;
  color: var(--color-fill-grey-inverse);
  margin-top: 10px;
  left: 6%;
}
.qm-page {
  background: url("../../../../static/img/land/index8/bg_login8.png");
  background-repeat: no-repeat;
  margin: 0px;
  background-size: 100% auto;
  background-attachment: fixed;
  width: 100%;
  height: 100vh;
  .qm-block {
    text-align: center;
    margin-top: calc(107px * var(--ratio));
    .img {
      width: calc(248px * var(--ratio));
      height: calc(136px * var(--ratio));
      margin-bottom: calc(100px * var(--ratio));
    }
    h2 {
      font-weight: 600;
      color: #03041f;
    }
    .qm-register {
      color: #ffffffce;
    }
    .qm-link {
      font-size: 13px;
      color: #ffffffce;
      margin-bottom: calc(75px * var(--ratio));
    }
    .qm-button {
      margin: 0px 12px;
      background-color: var(--color-fill-grey-inverse);
      color: var(--color-brand);
      font-size: var(--font-size-maintitle);
      --f7-button-raised-box-shadow: auto;
    }
    /deep/ .van-cell {
      height: calc(90px * var(--ratio));
      line-height: calc(90px * var(--ratio));
      padding: 0px calc(20px * var(--ratio));
    }
    /deep/ .van-search {
      padding-left: 15px;
      padding-right: 15px;
      background-color: #fff0;
    }
    /deep/ .van-search__content {
      background-color: #f1f4f833;
    }
    .divider {
      color: var(--color-text-base);
      border-color:#ebedf054;
      margin: calc(258px * var(--ratio)) calc(94px * var(--ratio)) 0px;
    }
    .qm-row {
      margin: calc(58px * var(--ratio)) calc(94px * var(--ratio)) 0px;
      text-align: center;
      color: #ffffffcc;
      img {
        width: calc(93px * var(--ratio));
        height: calc(93px * var(--ratio));
      }
    }
    .footer {
      position: absolute;
      text-align: center;
      color: var(--color-text-base);
      margin-top: 50px;
      font-size: 12px;
      left: 0px;
      right: 0px;
      color: rgba(255, 255, 255, 0.800);
    }
    // 修改placeholder的颜色
    ::v-deep .van-field__control::-webkit-input-placeholder {
      color: #ffffffcc;
    }

  }
    /deep/input:-webkit-autofill { box-shadow: 0 0 0px 1000px #4d98e5 inset !important;}
}
</style>
